local GameDB = import(".GameDB")

function GameDB:getRankingTypes()
    local skeys = self:getCachedValues("rank_subkey")
    return skeys
end

function GameDB:getRankingConfigs()
    local ranks = self:getCachedValues("rank")
    return ranks
end 

function GameDB:getRankingConfigById(id)
	return self:getCachedValue("rank", id)
end

function GameDB:getRankingConditionConfigs()
    local rankcs = self:getCachedValues("condition")
    return rankcs
end 

return GameDB
